var mydata = { }
    mydata.isShowLoadMore = false;
    mydata.isShowReflash = false;
    mydata.loadMoreAnimationData = {};
    mydata.reflashAnimationData = {};

module.exports = {
   data:mydata,
   newScoreViewExpand:function(){
    this.data.loadMoreAnimationData = wx.createAnimation({
        transformOrigin: "50% 50%",
        duration: 1000,
        timingFunction: "ease",
        delay: 0
     })
     this.data.reflashAnimationData = wx.createAnimation({
        transformOrigin: "50% 50%",
        duration: 1000,
        timingFunction: "ease",
        delay: 0
     })
    return this.data;
   },
   getData:function(){    
       return this.data;
   },
   showLoadMore: function () {
        this.data.isShowLoadMore = true;
   },
   hideLoadMore:function (){
       this.data.isShowLoadMore = false;
   },
   showReflash:function(){
       this.data.isShowReflash = true;
   },
   hideReflash:function(){
       this.data.isShowReflash = false;
   }

};